﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Runtime.Serialization;
using System.IO;
using QueueUnlimited.API;

namespace QueueUnlimited.ScenarioTests.API_Tests
{
    [TestClass]
    public class GenericEvent_Tests
    {
        [TestMethod()]
        public void Test_ToString_and_From()
        {
            var message = new GenericEvent("Ola", "Pola");
            Assert.AreEqual(GenericEvent.From(message.ToString()), message);
        }
    }
}
